<template>
  <Layout />
  <!-- <router-view /> -->
</template>

<script setup>
import { onMounted } from 'vue'
import { start } from 'qiankun'
import Layout from '@/layout/index.vue'
onMounted(() => {
  if (!window.qiankunStarted) {
    window.qiankunStarted = true
    start({
      sandbox: {
        prefetch: false, //取消预加载
        strictStyleIsolation: true, // 启用shadowDOM
        experimentalStyleIsolation: true // 增加一个特殊的选择器规则来限定其影响范围
      }
    })
  }
})
</script>
<style scoped></style>
